 		super.didReceiveMemoryWarning()
 		// Dispose of any resources that can be recreated.
 	}
+	
+	//MARk: Map Functions
+	func addPinToMap(longPressGesture:UILongPressGestureRecognizer) {
+		if longPressGesture.state == .Began {
+			let pin = MKPointAnnotation()
+			let touchCoord = longPressGesture.locationInView(mapView)
+			pin.coordinate = mapView.convertPoint(touchCoord, toCoordinateFromView: mapView)
+			mapView.addAnnotation(pin)
+		}
+	}
 }
 
 extension MapViewController : MKMapViewDelegate {

		
		NSKeyedArchiver.archiveRootObject(mapSettings, toFile: mapSettingsPath)
	}
}


		super.viewDidLoad()
		
		mapView.delegate = self
		
		//add long press gesture for pins
		let longPressGesture = UILongPressGestureRecognizer(target: self, action: "addPinToMap:")
		longPressGesture.minimumPressDuration = 2
		mapView.addGestureRecognizer(longPressGesture)
	}
	
	override func viewWillAppear(animated: Bool) {
