refine tasks