used Josh's child-webid code for addChild