Don't use ArrayIndexOutOfBoundsException