consolodate searching and lookup