Title: Optimum inventory and product quality control with deterministic and stochastic deterioration