New example applied and fix bugs

I fix bugs like the orientations left and right and the range move
leading fixes