structure of filtering done