using console.table to format output