edited motor code:
added motor code