Changed stuff to vector.