added different DOFs of arm; need fix for multiple arms