document magic
document types