Code twists