refine history