added centering to the figure