added restritions to bent arm movement