add missing document creation