Establishes initial structure of search