Added alert and console.log to show results.