stock controller