addItem implicitly accepts a value only