reverted
added the quantity thing on the model level