Add function of show progress.