refine ranking