uploaded original code, progress bar doesn't work