succesfully replaced the TSafeVector class through std::vector