refactor: abstracted prefix and suffix out of print_progress