Implemented limit switch on the arm