rcrc hook example