ok, I got it. It makes sense. I will move render into getHTMLNode().