finalizing auto-documetnation