added switch to enable side-chain filter