added function to add all the events into the event column.