starting to implement createChildren - not yet fully functioning