adds the right badge