Added Rice class