better documentation about the progress function