working on pr calc