refactor badges#send()