cleaning formatting of code, removing several print tests.