change default values of getNNodes() in remaining elements