Building on event class

added initiations in constructor