rotation control now working in example 3.5