more work on search feature, now combined with filter functionality