changed order of parameter setting so xscache > phi