added flexability in print.tableone