example typo, cleaner loop