Added table_from_index (about to test)