Implement vector filter using with