second loop example, shorthand loop