added validation on stock out