simple better coded main2.py beginnings