[dev]add events as param