Implements filter mechanism