         }
 
         // default return value is [1.0]
-        var noteArray = [Frequency(1)]
-        var actualNumberOfNotes = 1
-        var numberOfNotes = 1
+        var scalaFrequencies = [Frequency(1)]
+        var actualFrequencyCount = 1
+        var frequencyCount = 1
 
         var parsedScala = true
         var parsedFirstCommentLine = false
         let values = inputStr.components(separatedBy: NSCharacterSet.newlines)
         var parsedFirstNonCommentLine = false
-        var parsedNumberOfNotes = false
+        var parsedAllFrequencies = false
 
         // REGEX match for a cents or ratio
         //              (RATIO      |CENTS                                  )

            return nil
        }

        AKLog("frequencies: \(noteArray)")
        return noteArray
    }
}

                                // skip degrees of 1 or 2
                                continue
                            } else {
                                scalaFrequencies.append(Frequency(whole))
                                actualFrequencyCount += 1
                                continue
                            }
                        }
