NEW : variable to define number of nodes to generate