probably don't want to index into the length-th position of an array