add hooks for events
0.0.6