for loop prints addresses