refine contents