changed variable's name from Products to primaryProducts