Q: do you think of melodies first or chords?
A: both at the same time, but the melody is leading the way. actually, it's usually best when the lyrical content leads the way but the melody and chords also show up at the exact same time