event offset working