added progress printouts