added pr value computer