minor edit (removing for loop that was commented out)