switching to events