     }
     
     // delete task record from core data.
-    func deleteTaskRecord(indexPath: NSIndexPath){
+    private func deleteTaskRecord(indexPath: NSIndexPath){
         
         // 1 - find which record to be deleted
         var taskToDelete = self.taskList[indexPath.row]

    }
    
    // show alert message with OK button
    func showAlertMessage( #alertTitle: String, alertMessage: String) {
        
        let myAlertVC = UIAlertController( title: alertTitle, message: alertMessage, preferredStyle: UIAlertControllerStyle.Alert)
        

    }
    
    // disable edit button if no record
    private func enableDisableEditButton() {
        if self.taskList.count == 0 {
            self.editButton.enabled = false
        }else{
