change oPtr to oVec