util: our old friend kvgroup