Finished round functions and main loop