finished the ordered events table