refine badge