Changing to a for loop-