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

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

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