Removed get_tables_data function