Moved the build table to a function and broke something.