add examples for new hooks