Tweaking the code for products array, pt. 1