index should index multiple values at once