now example working for bending elements