I always say that to compose is to think. Playing is good, it's useful, but it's how your intellect puts the ideas together that will bring hands to write or to play. So, it's really a combination of many things; hearing sounds, hearing layers of counterpoints, of chords.