save data 2nd attempt (it works!)