The indentation for this section is weird, was it originally in a loop?