Implemented set_numbers method