docstring for print progress