Added addItem method