to restore to good condition, especially a building