the first version of search