added new hooks