simplify hooking