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

                                                 options: NSRegularExpression.Options.caseInsensitive)
        } catch let error as NSError {
            AKLog("ERROR: cannot parse scala file: \(error)")
            return noteArray
        }

        for rawLineStr in values {

                        // convert from cents to frequency
                        scaleDegree /= 1_200
                        scaleDegree = pow(2, scaleDegree)
                        scalaFrequencies.append(scaleDegree)
                        actualFrequencyCount += 1
                        continue
                    }
                } else {
