added internal node to net.cpp