added control on stock