extracted getFirstPCs