Removing system.out.print statements