Choose which event to register to