SMS: The functions of language and cognition