replaced debug output with proper progress display