more flexible simple table construction