Restore procedure doesn't work yet