Added the code to show elapsed time to save data.