Am a little confused about what the array resizing is for