added an alert with the calculated variables.