improving DTD