Added wrist mode and arm mode