Starting to build the index, still a bit experimental