implemented event parameters in generator