Getting partition refs to work