 import UIKit
 
 class MasterViewController: UITableViewController, NSXMLParserDelegate {
-
+    
+    // **************************
+    // MARK: - Instance Variables
+    // **************************
+    
     var objects = [AnyObject]()
     
+    // XML parser object to parse RSS feed
     var xmlParser: NSXMLParser!
 
 
+    // ******************
+    // MARK: - View Setup
+    // ******************
     override func awakeFromNib() {
         super.awakeFromNib()
     }

        self.tableView.insertRowsAtIndexPaths([indexPath], withRowAnimation: .Automatic)
    }
    
    func getRSS() {
        let urlString = NSURL(string: "http://xkcd.com/rss.xml")
        let rssUrlRequest:NSURLRequest = NSURLRequest(URL: urlString!)
        let queue:NSOperationQueue = NSOperationQueue()

        super.viewDidLoad()
        // Do any additional setup after loading the view, typically from a nib.
        
        startLoading()
        
        // parse RSS
        getRSS()
        
    }

