build-tables