initial working version of dynamically loading tables. yup