modify main.py so it is working