simple prototype with motor and encoder