adds system.out.printl statements to several classes for debugging purposes