refine task