length based indices and data