My code is working, but it looks very creepy.
ar2.push(pr1);ar2.push(pr2);ar2.push(pr3);ar2.push(pr4);ar2.push(pr5);ar2.push(pr6);
basically all those pr1, pr2 things are declared const... I was trying to add them to the array using a for loop, to no avail. Is there any way to do a one liner for this?