Renamed list_contents to print_table_list