add while loop example