added support for progress