added top entity TextDocument