Early Chinese societies in Malaysia and Singapore were made up largely of illiterate immigrants. According to Wang Gung Wu, the class structure of Chinese societies overseas is different from that of traditional China. The three major classes were the "merchants", "scholars" and "artisans". In this classification, the merchants occupy the highest rung of society which thus provides them with special influence among the Chinese. The merchants make significant contributions to society in different areas of activities. The first is in the promotion of education through the founding of schools and donating funds to support the education of children. The next is in community work through different associations to safeguard the rights and interests of the Chinese. The third is in efforts to ensure social stability, help settle disputes, advocate correct practices of customs and traditions, and promote the welfare of Chinese society. The last is their charity work particularly in the areas of medical care and the provision of places of worship.