GPS String has represented as an object with class gpsString more optimization than previous code