Printing results and saving data