finish the quantity type