Added 'new item' functionality