Added prtm solution
Added revp