first commit
Fix document readying