manual changes for fhn-filtering process