Changed from a Loop to While per your comments.