formatting the results. Added a console div