adding active check to inStock()