Changed yield to render