Basic restore logic