create eventObject containing all events