changing gps parser to get it easier to understand