incorporating AnnotationTransformer for retry_count