reformatting the event