completed arduino gps functions