minor work on search