testing abiltiy to save figures