Refactor for event details