finished refactoring SchemaNominator.java