adding a figure