more work on search output