added motor stops