preliminary version of filter activity