add support for node filtering