small changes to main.py