maxRetries now contains method retries