added max_results argument to list_tables()