prduct and pse loop order