Fixed issue #49
Changed progress from `float` to `int`