  
     var enemies = [Enemy]()
     
-    let enemyRadius = 2 // Kilometers
+    let baseURL = "http://woodsman.jessemillar.com:33333"
+    
+    let enemyRadius = 1.5 // Kilometers
     let shootRadius = 150.0 // In meters
     
     var enemiesLoaded = false

        if !enemiesLoaded {
            enemiesLoaded = true
            
            // Get data from the API, parse it, and add pins to the map
            let apiURL = "http://woodsman.jessemillar.com:33333/database/" + String(location!.coordinate.latitude) + "/" + String(location!.coordinate.longitude) + "/" + String(enemyRadius)
            print(apiURL)
            let url = NSURL(string: apiURL)
            
            let task = NSURLSession.sharedSession().dataTaskWithURL(url!) {(data, response, error) in
                do {
                    let json = try NSJSONSerialization.JSONObjectWithData(data!, options: .AllowFragments)
                    
                    if let coordinates = json as? [[String: AnyObject]] {
                        for cursor in coordinates {
                            let newEnemy : Enemy = Enemy()
                            
                            if let latitude = cursor["latitude"] as? String {
                                newEnemy.latitude = Double(latitude)!
                            }
                            
                            if let longitude = cursor["longitude"] as? String {
                                newEnemy.longitude = Double(longitude)!
                            }
                            
                            self.enemies.append(newEnemy)
                        }
                    }
                } catch {
                    print("error serializing JSON: \(error)")
                }
                
                for enemy in self.enemies {
                    let pin = EnemyPin(coordinate: CLLocationCoordinate2D(latitude: enemy.latitude, longitude: enemy.longitude))
                    self.mapView.addAnnotation(pin)
                }
            }
            
            task.resume()
        }
    }
    

                let cone = 0.1

                if abs(data!.acceleration.x) > (0.9 - cone) && abs(data!.acceleration.x) < (0.9 + cone){
                    self.gunOrientation = true
                } else {
                    self.gunOrientation = false
                }
            }
        } else {
