inject document