         } catch {
             fatalError("Failure to save context.")
         }
-
-        
-    }
-}
-
+        
+        
+    }
+}
+

    func runTimedCode() {
        timerLabel.text = String(paceCounter++)
    }
    
    
}

// MARK: - CLLocationManagerDelegate
extension NewRecordViewController: CLLocationManagerDelegate {

        
        timerLabel.text = String(paceCounter)
        
    }
}

// MARK: - Setup

extension NewRecordViewController {
    func addGradient() {
        let layer = CAGradientLayer()
        layer.frame = self.view.bounds
