addItem method added