Implements filter