finding other way to have recursive herder creation