refine x