initial set-filter implementation
tests, bugfixes for filtering
cleanup