now passes event data to callbacks
test for callbacks