Switched from array to vector.