When six lines are put together, they together make 64 hexagram combinations. Trigrams and component lines were created partly for the purpose of divination. Ancient Chinese people used yarrow stalks to make hexagrams, calculated the variations they suggested, and consulted them for the purpose of divination.