added ui to show table on console