reducing verbosity of main.py