use dmd for testing