Add original document
Cleanup and add printStats()