diff --git a/MBot.cabal b/MBot.cabal
--- a/MBot.cabal
+++ b/MBot.cabal
@@ -10,7 +10,7 @@
 -- PVP summary:      +-+------- breaking API changes
 --                   | | +----- non-breaking API additions
 --                   | | | +--- code changes with no API change
-version:             0.1.0.2
+version:             0.1.1.0
 
 -- A short (one-line) description of the package.
 synopsis:            Haskell interface for controlling the mBot educational robot
diff --git a/src/MBot.hs b/src/MBot.hs
--- a/src/MBot.hs
+++ b/src/MBot.hs
@@ -63,6 +63,7 @@
              goRight,
              stop,
              setRGB,
+             setMotor,
              Line(LEFTB, RIGHTB, BOTHB, BOTHW),
              Command() ) where 
 
@@ -320,7 +321,7 @@
 setRGB  index red green blue = MBotCommand idx RUN  RGBLED rgbp  [2,index,red,green,blue]
 
 
-setMotor port speed sp       = MBotCommand idx RUN  MOTOR  port  [speed,sp]
+setMotor port speed sp       = MBotCommand  idx RUN  MOTOR  port  [speed,sp]
 getLineFollower              = MBotCommand  lineIdx   GET LINEFOLLOWER      linp  []
 getUltrasonicSensor          = MBotCommand  ultraIdx  GET ULTRASONIC_SENSOR sonp  []
 
