Changed motor and sensor setup