                                 // skip 1/1, 2/1
                                 continue
                             } else {
-                                noteArray.append(mt)
-                                actualNumberOfNotes += 1
+                                scalaFrequencies.append(mt)
+                                actualFrequencyCount += 1
                                 continue
                             }
                         }

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

            return nil
        }

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