parameter inStock is introduced