working and restoring