commented out part of code that links filtering with the pots