Refine framework