add method for indices only