Print result in main