now passing event object through to success handler