add event spec