karma impl