Made set_motor need less data.