implemented kcore