added current insert beat
added event handler
added license header