checking hooks