Use thimble

WIP, with some review points so it doesn't get too off-track.
I wish this was the name of the twisted function too.