adding the events module