prototype doc-test m