added motorcode