I don't expect any errors but I am trying to eliminate any chance that we end up in an infinite loop.  I guess it is probably better to let the  caller know about the error I will update the code.