added 'addItem' method