new method int index