use @bcoe's new ndm templating feature