base doc