add filter to nodes