using a block to allow Search object to communicate with SearchViewController