get_number function added