add events to doc