reimplemented basicFilter