regenerate figures