Sara Bronson-added for loop end method call