Updated to render buttons on different paragraphs