Update HardGenerator.java