write badge with B