Event handler
Debug build for the event handler