     
     var majorChord: [Note] {
         
+        let majorChord: [Note]
+        
         switch (name, sharp) {
             
         case (.C, false):
-            return [
+            majorChord = [
                 Note(name: .C, octave: octave, sharp: false),
                 Note(name: .E, octave: octave, sharp: false),
                 Note(name: .G, octave: octave, sharp: false)
             ]
             
         case (.C, true):
-            return [
+            majorChord = [
                 Note(name: .C, octave: octave, sharp: true),
                 Note(name: .F, octave: octave, sharp: false),
                 Note(name: .G, octave: octave, sharp: true)
             ]
             
         case (.D, false):
-            return [
+            majorChord = [
                 Note(name: .D, octave: octave, sharp: false),
                 Note(name: .F, octave: octave, sharp: true),
                 Note(name: .A, octave: octave, sharp: false)
             ]
             
         case (.D, true):
-            return [
+            majorChord = [
                 Note(name: .D, octave: octave, sharp: true),
                 Note(name: .G, octave: octave, sharp: false),
                 Note(name: .A, octave: octave, sharp: true)
             ]
             
         case (.E, _):
-            return [
+            majorChord = [
                 Note(name: .E, octave: octave, sharp: false),
                 Note(name: .G, octave: octave, sharp: true),
                 Note(name: .B, octave: octave, sharp: false)
             ]
             
         case (.F, false):
-            return [
+            majorChord = [
                 Note(name: .F, octave: octave, sharp: false),
                 Note(name: .A, octave: octave, sharp: false),
                 Note(name: .C, octave: octave + 1, sharp: false)
             ]
             
         case (.F, true):
-            return [
+            majorChord = [
                 Note(name: .F, octave: octave, sharp: true),
                 Note(name: .A, octave: octave, sharp: true),
                 Note(name: .C, octave: octave + 1, sharp: true)
             ]
             
         case (.G, false):
-            return [
+            majorChord = [
                 Note(name: .G, octave: octave, sharp: false),
                 Note(name: .B, octave: octave, sharp: false),
                 Note(name: .D, octave: octave + 1, sharp: false)
             ]
             
         case (.G, true):
-            return [
+            majorChord = [
                 Note(name: .G, octave: octave, sharp: true),
                 Note(name: .C, octave: octave + 1, sharp: false),
                 Note(name: .D, octave: octave + 1, sharp: true)
             ]
             
         case (.A, false):
-            return [
+            majorChord = [
                 Note(name: .A, octave: octave, sharp: false),
                 Note(name: .C, octave: octave + 1, sharp: true),
                 Note(name: .E, octave: octave + 1, sharp: false)
             ]
             
         case (.A, true):
-            return [
+            majorChord = [
                 Note(name: .A, octave: octave, sharp: true),
                 Note(name: .D, octave: octave + 1, sharp: false),
                 Note(name: .F, octave: octave + 1, sharp: false)
             ]
             
         case (.B, false):
-            return [
+            majorChord = [
                 Note(name: .B, octave: octave, sharp: false),
                 Note(name: .D, octave: octave + 1, sharp: true),
                 Note(name: .F, octave: octave + 1, sharp: true)
             ]
             
         default:
-            assertionFailure()
+            preconditionFailure()
             
         }
         
-    }
-    
-}
-
-//
-// MARK: -
+        return majorChord
+        
+    }
+    
+}
+
 // MARK: Chord Progression
-//
 
 extension Note {
     

    
}

//
// MARK: -
// MARK: Chord
//

extension Note {
    

    
}

// MARK: Octave

extension Note {
    
