added getxy for gps