fixed karma logic, changed it to cred