added constructors to events for testability