adding the figure