added progress indicator