Basic encoders and control working