add event writer