alternative hook registration