         var titleSection = SectionStruct(headerTitle: "Title", items: [])
         var descriptionSection = SectionStruct(headerTitle: "Description",
                                                items: [])
+        var metadataSection = SectionStruct(headerTitle: "Meta data",
+                                            items: [])
+
         if let command = self.commandStruct {
             if let targetID = command.targetID {
                 targetIdSection.items.append(targetID)

            }
        }
        // the defaultd schema and schemaVersion from predefined schem dict
        var schema: String? = (self.view.viewWithTag(200) as? UITextField)?.text
        var schemaVersion: Int?
        if let schemaVersionTextFiled = self.view.viewWithTag(201) as? UITextField {
            schemaVersion = Int(schemaVersionTextFiled.text!)!
        }
        var targetID: String? =
          (self.view.viewWithTag(202) as? UITextField)?.text
        var title: String? = (self.view.viewWithTag(203) as? UITextField)?.text
        var description: String? =
          (self.view.viewWithTag(204) as? UITextView)?.text
        var metadata: Dictionary<String, AnyObject>?

        if self.delegate != nil {
            delegate?.saveCommands(schema!,

                (cell.viewWithTag(204) as! UITextView).text = value
            }
            return cell
        } else if sections[indexPath.section].headerTitle == "Meta data" {
            let cell = tableView.dequeueReusableCellWithIdentifier(
              "CommandMetadataCell", forIndexPath: indexPath)
            if let items = sections[indexPath.section].items
              where !items.isEmpty {
                let value = items[indexPath.row] as! String
                (cell.viewWithTag(205) as! UITextView).text = value
            }
            return cell
        } else {
            return super.tableView(tableView, cellForRowAtIndexPath: indexPath)
        }
