this is a cleaned up version of main.s with no code changes, only formatting