Tested GPS code