some functions related to d'n'd are written