findng r.p.