added a progress bar to the result page