added gps code generator