replace select_line with confirm_line