 	}
 
 	func configureView() {
-		// Update the user interface for the detail item.
+		
+		if ( instanceID == -1) { // capture the ID and update the counter once for each instance
+		
+			DetailViewController.instanceCounter++
+
+			instanceID = DetailViewController.instanceCounter
+			
+		}
+		
 		if let detail: AnyObject = self.detailItem {
-		    if let label = self.detailDescriptionLabel {
-		        label.text = detail.description
+		
+			if let label = self.detailDescriptionLabel {
+			
+				label.text = String(format:"DetailViewController\nhash = %lx\nitem = %@\ninstance %ld",self.hash,detailItem!.description, instanceID)
+
 		    }
 		}
 	}
+	
+	// note the following method is essential: you can just rely on the super method being in place
+	// the first set of detailItem occurs 
+	// before DetailViewController.instanceCounter is available
 
 	override func viewDidLoad() {
+		
 		super.viewDidLoad()
-		// Do any additional setup after loading the view, typically from a nib.
+		
 		self.configureView()
 	}
 

		// Dispose of any resources that can be recreated.
	}


}


//  DetailViewController.swift
//  SplitViewWithContainer
//
//  Created by Steve Mykytyn on 8/14/15.
//  Copyright (c) 2015 359 North Inc. All rights reserved.
//

