restore_functionality