putting badges first