register hook