Small tweak to prepareTwist