interface: change the interface for event handler