Added echo statements to summarize the results.