restored static factory method for event factory