changed how children are assigned to temp nodes
grouped together temp actions