Thus caste was a group system based on services and functions. It was meant to be an all-inclusive order without any common dogma and allowing the fullest latitude to each group. Within its wide fold there was monogamy, polygamy, and celibacy; they were all tolerated, just as other customs, beliefs, and practices were tolerated. Life was to be maintained at all levels.