add core of gps tracking