First try of implementing some kind of filter.