Added check quantity.