added an alert for debugging