Adjusted event callback to pass in a targ vaue