Which data to save and when