refactoring main.py