Melodies are based on musical scales, which are series of tones arranged from lowest to highest. A key signature indicates whether the notes in a piece are consistently sharped or flatted. Major scales are organized by their key signature, starting with G major which has 1 sharp (F#) and proceeding through the circle of fifths, adding one more sharp with each new key until C# major with 7 sharps. Similarly, major scales with flats proceed from F major with 1 flat (Bb) through the circle of fifths, adding one more flat with each new key until Cb major with 7 flats.