Refinement and layering