Tubes transformation