removed System.out.println used for debugging.