replace addChild with options.children