added events template
added parent class events as well