add pack layout / modify children.js to set values on every node