modified to compile gps parser