Added a for loop