add old code from about 2 weeks ago with the beginnings of the arm control.