add data to event.c