Add while loop example