Add first code for the progress bar