added user controls to operate first joint