use real starting location from GPS and removed unused functions