easy code partials with select_lines method