WIP: create_document