check_filtering method