save temperal changes for 3 functions