union works with nodes