#1348 converted if statements to a for loop from pull request comments.