filter implementation first commit