saving PR and PR inputs now working