adding progress indication print