Removed System.out.println statements previously used for testing.