apply new .indexing function