Changed partition variable, so that it makes more sense