refine ex2