Implemented filteredPascal