check the hook