added comments to filter and Preprocessor