adding event module