added loading progress bar
formatting