adding a search first