creating mards and the DS transform