use variable length children in setupChidren