ui for data refinement