this is the code for the arm - Erik Ostlind