got the search resources done, needs code