         let cancelAction = UIAlertAction(title: "Cancel", style: UIAlertActionStyle.Cancel, handler: nil)
         optionMenu.addAction(cancelAction)
         
-        let callActionHandler = { (action: UIAlertAction!) -> Void in
-            let alertMessage = UIAlertController(title: "Service Unavailable", message: "Call feature not available yet", preferredStyle: .Alert)
-            alertMessage.addAction(UIAlertAction(title: "OK", style: .Default, handler: nil))
-            // without self.prese... following would fail. self is required.
-            self.presentViewController(alertMessage, animated: true, completion: nil)
+        let callAction = UIAlertAction(title: "Call " + "123-000-\(indexPath.row)", style: .Default) {
+            (action: UIAlertAction!) -> Void in
+                let alertMessage = UIAlertController(title: "Service Unavailable", message: "Call feature not available yet", preferredStyle: .Alert)
+                alertMessage.addAction(UIAlertAction(title: "OK", style: .Default, handler: nil))
+                // without self.prese... following would fail. self is required.
+                self.presentViewController(alertMessage, animated: true, completion: nil)
         }
-        let callAction = UIAlertAction(title: "Call " + "123-000-\(indexPath.row)", style: .Default, handler: callActionHandler)
+
         optionMenu.addAction(callAction)
         
         let actionMessageToDisplay = restaurantIsVisited[indexPath.row] ? "I have not been here 😨" : "I have been here 😄"
         
-        let isVisitedAction = UIAlertAction(title: actionMessageToDisplay, style: .Default, handler: {
+        let isVisitedAction = UIAlertAction(title: actionMessageToDisplay, style: .Default) {
             (action: UIAlertAction!) -> Void in
                 if let cell = tableView.cellForRowAtIndexPath(indexPath) {
                     let cell = cell as CustomTableViewCell

    // have to implement delete mechanism also
    
    override func tableView(tableView: UITableView, editActionsForRowAtIndexPath indexPath: NSIndexPath) -> [AnyObject]? {
        var shareAction = UITableViewRowAction(style: .Default, title: "Share",
            handler: { (action: UITableViewRowAction!, indexPath: NSIndexPath!) -> Void in
                let shareMenu = UIAlertController(title: nil, message: "Share using", preferredStyle: .ActionSheet)
                let twitterAction = UIAlertAction(title: "Twitter", style: .Default, handler: nil)
                let facebookAction = UIAlertAction(title: "Facebook", style: .Default, handler: nil)

                
                self.presentViewController(shareMenu, animated: true, completion: nil)
            }
        
        
        var deleteAction = UITableViewRowAction(style: .Default, title: "Delete") {
            (action: UITableViewRowAction!, indexPath: NSIndexPath!) in
                self.restaurantNames.removeAtIndex(indexPath.row)
                self.restaurantIsVisited.removeAtIndex(indexPath.row)
                tableView.deleteRowsAtIndexPaths([indexPath], withRowAnimation: .Fade)
            }
        
        return [shareAction, deleteAction]
    }
