adapted for gps.