adjusted the types of several functions, wrote Person.addItem and Person.removeItem