Added code for GPS