getting badges right