first draft of search