added missing info of how to add an event handler