adding a filter to improve the sfm