results bundling moved out of search function