Refactored to take multiple filters and classes