explain hooks in faq