added progress bar instead of loader