added optional showing progres
end of v1.0