Adding pairVect class for TD2