simplify progress method
Merge pull request #486 from adrianob/simplify_progress

simplify progress method