formatting issues in Generator.java