more changes to code, shows distance run