Code to implement filters and implemented in class for toggles
Code to implement filters and implemented in class for toggles