removed Hook.init