whoops forgot to take out reference to arrIndex