using doTable i.s.o. doTables where possible