Implement filterText