part of rotary encoder