reorging the figure