add doc structure, snapshot