Added example for Hooks