Brought main to the bottom of the code