Wrote the motor code