JDNG001-1

setting arrays p1+ p2