restoring to functioning form