Changing the dcae dt main code