replace pr with formual