changed in in_num to long