cleaning up code, erasing old unused code and print statements.