Finished output in main