working badge return or text, depending on request