small amount of GPS code