render_by_selection is now renderBySelection