add entangle_cross and detangle_cross