Works with multiple nodes