add event buffer
add event buffer