Added printing to table