added rotary encoders