Added p.rand