hook in example