added documentation for pr and prn