identify which events are needed by the hook