Added new item functionality