add event dispatcher for v3
Merge pull request #264 from u0u0/master

add event dispatcher for v3