better progress bar output