Made changes to the motor ports for winding motor