alert string added to display the results on the screen.