can save and load persistent data. writing the data to internal storage