switching to search; not yet compilable