arm detection