added variables for RminExpected