use hook
add hook regist