before changing ComparePVs.m