add TrackLocation and GetDirection