added proto-filtering