Modified nodes.py