better approach to initiating search in select