modify index to add exceprts