build: simplifying table building