removed need to open an url for rendering html