added encoders and motors functions