Formatting the event list