Adding while example