add event support
change "pop" event to "processing"
docs