for/while example