(caitta) 'mental functions.' Things that are related to the mind. Mental functions, workings, phenomena. Spiritual functions. The mental function that fully recognizes the separate aspects of the external environment at the time that the mental consciousness is aware of it. It arises depending upon the "mind-king" (心王) which discerns all the characteristics of the environment. According to the Faxiang 法相 school. There are 51 of these, which are divided into six groups: (1) The five pervasive functions 五遍行; (2) The five separate realms 五别境; (3) The eleven goodnesses 十一善; (4) The six primary afflictions 六烦恼; (5) The twenty secondary afflictions 随烦恼, and (6) the four indeterminate dharmas 四不定.