add document visitor