Added the alert function to show the area to the user in the alert.