Early saurischians were similar to early ornithischians, but different from modern crocodiles. Saurischians differ from ornithischians by keeping the ancestral configuration of bones in the pelvis (shown in a diagram above). Another difference is in the skull: the upper skull of the Ornithischia is more solid, and the joint connecting the lower jaw is more flexible. These features are adaptations to herbivory; in other words, it helped them grind vegetable food.