fixed mistake concerning quantity