youre right eventually with practice, you start to make melodies in your head already before laying them down