This grammatical information is then used in the next step of language production, grammatical encoding. Critical grammatical information includes characteristics such as the word's syntactic category (noun, verb, etc.), what objects it takes, and grammatical gender if it is present in the language. Using some of these characteristics as well as information about the thematic roles of each word in the intended message, each word is then assigned the grammatical and thematic role it will have in the sentence. Function morphemes, like the plural /s/ or the past tense /ɪd/, are added in this stage as well. After an utterance, or part of one, has been formed, it then goes through phonological encoding. In this stage of language production, the mental representation of the words to be spoken is transformed into a sequence of speech sounds to be pronounced. The speech sounds are assembled in the order they are to be produced.