Bending and shaping