add events to header