Added System.out.println() for debugging