A theory of language and mind