changed Generator to CharacterGenerator