small change in karma comparison algorithm