 More elaborate pieces may establish the main key, then modulate to another key, or a series of keys, then back to the original key.In the Baroque it was common to repeat an entire phrase of music, called a ritornello, in each key once it was established.In Classical sonata form, the second key was typically marked with a contrasting theme.