prepare branch childeres