add filtering/required flags