formatting events list