change to gps API