Added 'for' loop