Added semicompleted motor controller