simplify creation of a table

yay types