demo refinement