replacement of figure