added different filtering methods