added motor controls