Coded the arm position