added refinement criterion