reconfiguring event handling