adding retries