Changing base index to 1 instead of 0.