Commit to not destroy

The actual implementation is a mess: don’t even look at! But I commit
because it works! (or, it seems to at least) And now, I will clean
everything and make it nice, but I want to be sure to have a backup.