adding generating of next set of figures