added progress logging