modify feature generator