add function to use the table building but still not using it