Refined implementation to show interim results.