add document for pdmat