@ptony82 These `global` declarations are bothering me. Why are we using `main()` functions instead of just putting it all after `if "__name__" == "__main__"`?