added example for render_maybe