changes to function names, removal of unsed variables and lots of output clean-up