Started on the addEvent method