add event bindings
add travis test