Is there any danger of this going off the end of the array?