changed send button to display all of the result at once