move motor_order to resources