can manage melodies in an array