Removed system.out.println use for debugging.