added progress reporting
fixes #21