additional improvements to retries
code formatting