populateSets() added to grammer class