refine compare example