made changes to add_item.py