parent vector with for