What's the definition for internal and external coherence?