Now using a vector to do operations