add doc for instance doc