functions to definte public/private tables