I agree and regardless, this function doesn't make much sense because you wouldn't pass an array of MenuItem's when this method can just access Items and I also don't see what you'd pass for 'price' since this method iterates through *all* the items and adds those prices on top of the price you pass in. Overall, we shouldn't be directly setting the total price, it should be a sort of derived property.