adding product configuration logic