Added easier to use addEvent