reinstated pdmat (tested)