code for the arpeggio project