ix for retries and replace always evaluating the first element (0) as false in the or comparison.  Setting the default value in the method signature instead