do_select