addded progress bar