Removed System.out.println() lines.