use printTable