The showAlert() is a function defined in a separate