display result to the user