Renamed noNodes to numNodes