event handler modification