finalizing docs