added another hook example