Added rengerate hook