Refine the format