dynamic parameter filter (prototype, not tested)