rotary encoder added