almost done save data and save figures for speccon etc