added progress bar feature