not sure this existing code, but 0..quantity seems to work fine, will change