first version with a simple print of the documents