changed the indexing in print.tableone