language hook example