Displaying output on Activity
Better logging.