from a programming standpoint, do while is what you'd want to use here. Do while will always run at least 1 time and a while loop works off of some condition that may or may not be true. So doing a do/while will always run the search one time and is "more" correct.