how to work with GPS