removed dkg code