not needed; think this was leftover from generator-generator
minor refactoring to get tests to work