global variable errorList