function return int by default.