adding a simple one level for loop