refine process