use exception_level_filters instead of instanceof