now uses table_name when given instead of quoted_table_name; no dup