made changes in trash.py file