more work on search