Adjusted for loop qualifiers