added joint limits