removed call to set_table_name as it is deprecated, and doesn't appear to be necessary