refine variable