Swap event to before.