Added psa code