hooking up the search resource