Motor code added to all