major modification to code for GPS and speed handling