Create base doc