Created motor.c