refactored creating of a partner badge with less dependencies