adjusted item model to take quantity