making my own version of gps parser