quick fix to use base index of 1 not 0