Basic structure of prsm(), ar2(), added TODOs.