Time for action – Creating an event handler