further implementation of filter
added method
more statistics implementations