Tetrix motor code added