housekeeping in figure3reproduce