Starting work on the GPS logic