returns negative numbers with my_to_i