extended the event handler with custom args