add function to show the results