minor updates taken from voiceleading project