saving figures version 2