Make the event handlers do something useful