added choice to render html