small refactoring: extracted different ball filters