Disable motor function added. And some changes.