setting up dual category filtering