output table in console