add doc to result