more work on the ui for filtering