adding new hooks.