Get and save data