Example function: progress bar