display result in console