work in progress on rng for prtcls