add code from homemade GPS