attempt to make the badge work automatically