Completing more efficient procedure for making tables