Theory of language