added serial number param to motor controller