add vendor
add badge+1 logic