Added gps functionality