my second change; added an alert