solution to GPS