Incorporate  Daniel Girardi's 'for' loop.