added progress bar for clustering process