         return mapItem
     }
     
+    func category() -> String {
+        return "A Place"
+    }
     
 }
 
 class TrainStation: Place {
     var lineServed: String
     
-    init(name: String, latitude: CLLocationDegrees, longitude: CLLocationDegrees, lineServed: String, title: String, subtitle: String) {
+    init(name: String, latitude: CLLocationDegrees, longitude: CLLocationDegrees, lineServed: String) {
         self.lineServed = lineServed
-        super.init(name: name, latitude: latitude, longitude: longitude, coordinate: CLLocationCoordinate2DMake(latitude, longitude), title: title, subtitle: subtitle)
+        super.init(name: name, latitude: latitude, longitude: longitude)
+    }
+    
+    override func category() -> String {
+        return "Train Station, Line Served: \(lineServed)"
     }
 }
 
 class ConvenienceStore: Place {
     var hasAtm: Bool
     
-    init(name: String, latitude: CLLocationDegrees, longitude: CLLocationDegrees, hasAtm: Bool, title: String, subtitle: String){
+    init(name: String, latitude: CLLocationDegrees, longitude: CLLocationDegrees, hasAtm: Bool){
         self.hasAtm = hasAtm
-        super.init(name: name, latitude: latitude, longitude: longitude, coordinate: CLLocationCoordinate2DMake(latitude, longitude), title: title, subtitle: subtitle)
+        super.init(name: name, latitude: latitude, longitude: longitude)
     }
     
     override func pinColor() -> MKPinAnnotationColor {

            return .Green
        } else {
            return .Purple
        }
    }
  

        super.viewDidLoad()
        
        var places: [Place] = [
            TrainStation(name: "Aoyama Itchome", latitude: 35.672929, longitude: 139.723960, lineServed: "Oedo"),
            TrainStation(name: "Gaienmae", latitude: 35.670527, longitude: 139.717857, lineServed: "Ginza"),
            TrainStation(name: "Nogizaka", latitude: 35.666572, longitude: 139.726215, lineServed: "Chiyoda"),
            ConvenienceStore(name: "Family Mart", latitude: 35.67265605385047, longitude: 139.7243950343933, hasAtm: true),
            ConvenienceStore(name: "Poplar", latitude: 35.6717931950933, longitude: 139.7242180085983, hasAtm: false)
        ]
        
        
