Add createBadge method