not sure this while loop is necessary at all. under what circumstances would you need more than one iteration here?