add constant for hooking