drive_motor implemtation