Dname testing

adding a couple new functions