Add quantity functionality