added to_double to lat and long