modified main.py and backup
modified main.py