further changes to PCCA calculations