add end event logging
0.1.2