Updated the array to vectors. Easier to check for size.