the higher levels in the organisational hierarchy, and it also meant that trade between villages was minimal. Such traders as did exist were mostly concentrated in the port towns and consisted of immigrant Syrians, Muslims, Christians and Jews, with Hindu traders later arriving from other parts of India, as well as the Europeans. The Nairs were the sole members of the village organisations, which existed for such purposes as managing the affairs of the temples and, at one time, organising military training and deployment. A Nair family was considered to be part of the village organisation even if they had moved away from it. There were other castes in these villages, and other religious groups also, but they were excluded from the organisations. This arrangement was different from that found elsewhere in India, and another difference was that each house, whether for Nairs or otherwise, was usually in its own compound. There was no communal land, as existed elsewhere, and no communal plan for the village layout. Nairs were not permitted to perform rites in the temples of the sanketams, the villages where the land was owned by a group of Nambudiri families, although they might have access to the outer courtyard area. Sometimes there were no Nairs at all in these villages. In villages where temples existed which were privately owned by a single Nambudiri family, there would be another temple, dedicated to Bhagavadi, that was used by the Nairs. It was in villages where the Nairs included the headman that there might be just a single temple, run by their village organisation. Social organization By the late 19th-century, the caste system of Kerala had evolved to be the most complex to be found anywhere in India. There were over 500 groups represented in an elaborate structure of relationships and the concept of ritual pollution extended not merely to untouchability but even further, to unapproachability. The system was gradually reformed to some degree, with one of those reformers, Swami Vivekananda, having observed that it represented a "mad house" of castes. The usual four-tier Hindu caste system, involving the varnas of Brahmin (priest), Kshatriya (warrior), Vaishya (business person, involved in trading, entrepreneurship and finance) and Shudra (service person), did not exist. Kshatriyas were rare and the Vaishyas were not present at all. The roles left empty by the absence of these two ritual ranks were taken to some extent by