Remove system.out.println() and revert #validate method to previous version