add end event
Merge branch 'master' of github.com:micnic/Best-Hackaton
add finish callback