modified cpnfig