hook integration